package com.hc.mybatis.generator.repository.model;

public class PurchaserInvoiceLogsWithBLOBs extends PurchaserInvoiceLogsEntity {
    /**
     * 原始报文
     * 表 : purchaser_invoice_logs
     * 对应字段 : coop_json
     */
    private String coopJson;

    /**
     * 处理结果
     * 表 : purchaser_invoice_logs
     * 对应字段 : process_msg
     */
    private String processMsg;

    /**
     * get method 
     *
     * @return purchaser_invoice_logs.coop_json：原始报文
     */
    public String getCoopJson() {
        return coopJson;
    }

    /**
     * set method 
     *
     * @param coopJson  原始报文
     */
    public void setCoopJson(String coopJson) {
        this.coopJson = coopJson == null ? null : coopJson.trim();
    }

    /**
     * get method 
     *
     * @return purchaser_invoice_logs.process_msg：处理结果
     */
    public String getProcessMsg() {
        return processMsg;
    }

    /**
     * set method 
     *
     * @param processMsg  处理结果
     */
    public void setProcessMsg(String processMsg) {
        this.processMsg = processMsg == null ? null : processMsg.trim();
    }

    /**
     *
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", coopJson=").append(coopJson);
        sb.append(", processMsg=").append(processMsg);
        sb.append("]");
        return sb.toString();
    }

    /**
     *
     * @param that
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        PurchaserInvoiceLogsWithBLOBs other = (PurchaserInvoiceLogsWithBLOBs) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getTaskStatus() == null ? other.getTaskStatus() == null : this.getTaskStatus().equals(other.getTaskStatus()))
            && (this.getProcessCode() == null ? other.getProcessCode() == null : this.getProcessCode().equals(other.getProcessCode()))
            && (this.getProcessNum() == null ? other.getProcessNum() == null : this.getProcessNum().equals(other.getProcessNum()))
            && (this.getInvoiceCode() == null ? other.getInvoiceCode() == null : this.getInvoiceCode().equals(other.getInvoiceCode()))
            && (this.getInvoiceNo() == null ? other.getInvoiceNo() == null : this.getInvoiceNo().equals(other.getInvoiceNo()))
            && (this.getInvoiceType() == null ? other.getInvoiceType() == null : this.getInvoiceType().equals(other.getInvoiceType()))
            && (this.getPurchaserNo() == null ? other.getPurchaserNo() == null : this.getPurchaserNo().equals(other.getPurchaserNo()))
            && (this.getPurchaserTaxNo() == null ? other.getPurchaserTaxNo() == null : this.getPurchaserTaxNo().equals(other.getPurchaserTaxNo()))
            && (this.getPurchaserName() == null ? other.getPurchaserName() == null : this.getPurchaserName().equals(other.getPurchaserName()))
            && (this.getPurchaserAddrTel() == null ? other.getPurchaserAddrTel() == null : this.getPurchaserAddrTel().equals(other.getPurchaserAddrTel()))
            && (this.getPurchaserAddress() == null ? other.getPurchaserAddress() == null : this.getPurchaserAddress().equals(other.getPurchaserAddress()))
            && (this.getPurchaserTel() == null ? other.getPurchaserTel() == null : this.getPurchaserTel().equals(other.getPurchaserTel()))
            && (this.getPurchaserBankInfo() == null ? other.getPurchaserBankInfo() == null : this.getPurchaserBankInfo().equals(other.getPurchaserBankInfo()))
            && (this.getPurchaserBankName() == null ? other.getPurchaserBankName() == null : this.getPurchaserBankName().equals(other.getPurchaserBankName()))
            && (this.getPurchaserBankAccount() == null ? other.getPurchaserBankAccount() == null : this.getPurchaserBankAccount().equals(other.getPurchaserBankAccount()))
            && (this.getSellerNo() == null ? other.getSellerNo() == null : this.getSellerNo().equals(other.getSellerNo()))
            && (this.getSellerTaxNo() == null ? other.getSellerTaxNo() == null : this.getSellerTaxNo().equals(other.getSellerTaxNo()))
            && (this.getSellerName() == null ? other.getSellerName() == null : this.getSellerName().equals(other.getSellerName()))
            && (this.getSellerAddrTel() == null ? other.getSellerAddrTel() == null : this.getSellerAddrTel().equals(other.getSellerAddrTel()))
            && (this.getSellerTel() == null ? other.getSellerTel() == null : this.getSellerTel().equals(other.getSellerTel()))
            && (this.getSellerAddress() == null ? other.getSellerAddress() == null : this.getSellerAddress().equals(other.getSellerAddress()))
            && (this.getSellerBankInfo() == null ? other.getSellerBankInfo() == null : this.getSellerBankInfo().equals(other.getSellerBankInfo()))
            && (this.getSellerBankName() == null ? other.getSellerBankName() == null : this.getSellerBankName().equals(other.getSellerBankName()))
            && (this.getSellerBankAccount() == null ? other.getSellerBankAccount() == null : this.getSellerBankAccount().equals(other.getSellerBankAccount()))
            && (this.getPaperDrewDate() == null ? other.getPaperDrewDate() == null : this.getPaperDrewDate().equals(other.getPaperDrewDate()))
            && (this.getAmountWithoutTax() == null ? other.getAmountWithoutTax() == null : this.getAmountWithoutTax().equals(other.getAmountWithoutTax()))
            && (this.getTaxAmount() == null ? other.getTaxAmount() == null : this.getTaxAmount().equals(other.getTaxAmount()))
            && (this.getAmountWithTax() == null ? other.getAmountWithTax() == null : this.getAmountWithTax().equals(other.getAmountWithTax()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getCashierName() == null ? other.getCashierName() == null : this.getCashierName().equals(other.getCashierName()))
            && (this.getCheckerName() == null ? other.getCheckerName() == null : this.getCheckerName().equals(other.getCheckerName()))
            && (this.getInvoicerName() == null ? other.getInvoicerName() == null : this.getInvoicerName().equals(other.getInvoicerName()))
            && (this.getSettlementNo() == null ? other.getSettlementNo() == null : this.getSettlementNo().equals(other.getSettlementNo()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getOriginInvoiceNo() == null ? other.getOriginInvoiceNo() == null : this.getOriginInvoiceNo().equals(other.getOriginInvoiceNo()))
            && (this.getOriginInvoiceCode() == null ? other.getOriginInvoiceCode() == null : this.getOriginInvoiceCode().equals(other.getOriginInvoiceCode()))
            && (this.getRedNotificationNo() == null ? other.getRedNotificationNo() == null : this.getRedNotificationNo().equals(other.getRedNotificationNo()))
            && (this.getAuditStatus() == null ? other.getAuditStatus() == null : this.getAuditStatus().equals(other.getAuditStatus()))
            && (this.getTaxFlag() == null ? other.getTaxFlag() == null : this.getTaxFlag().equals(other.getTaxFlag()))
            && (this.getAuthStatus() == null ? other.getAuthStatus() == null : this.getAuthStatus().equals(other.getAuthStatus()))
            && (this.getAuthTime() == null ? other.getAuthTime() == null : this.getAuthTime().equals(other.getAuthTime()))
            && (this.getTaxDeclarationPeriod() == null ? other.getTaxDeclarationPeriod() == null : this.getTaxDeclarationPeriod().equals(other.getTaxDeclarationPeriod()))
            && (this.getInvoiceOrig() == null ? other.getInvoiceOrig() == null : this.getInvoiceOrig().equals(other.getInvoiceOrig()))
            && (this.getScanStatus() == null ? other.getScanStatus() == null : this.getScanStatus().equals(other.getScanStatus()))
            && (this.getScanTime() == null ? other.getScanTime() == null : this.getScanTime().equals(other.getScanTime()))
            && (this.getScanDeductionImageUrl() == null ? other.getScanDeductionImageUrl() == null : this.getScanDeductionImageUrl().equals(other.getScanDeductionImageUrl()))
            && (this.getScanInvoiceImageUrl() == null ? other.getScanInvoiceImageUrl() == null : this.getScanInvoiceImageUrl().equals(other.getScanInvoiceImageUrl()))
            && (this.getScanUserId() == null ? other.getScanUserId() == null : this.getScanUserId().equals(other.getScanUserId()))
            && (this.getRetreatStatus() == null ? other.getRetreatStatus() == null : this.getRetreatStatus().equals(other.getRetreatStatus()))
            && (this.getTenantCode() == null ? other.getTenantCode() == null : this.getTenantCode().equals(other.getTenantCode()))
            && (this.getCheckCode() == null ? other.getCheckCode() == null : this.getCheckCode().equals(other.getCheckCode()))
            && (this.getMachineCode() == null ? other.getMachineCode() == null : this.getMachineCode().equals(other.getMachineCode()))
            && (this.getPurchaserId() == null ? other.getPurchaserId() == null : this.getPurchaserId().equals(other.getPurchaserId()))
            && (this.getVehicleType() == null ? other.getVehicleType() == null : this.getVehicleType().equals(other.getVehicleType()))
            && (this.getVehicleBrand() == null ? other.getVehicleBrand() == null : this.getVehicleBrand().equals(other.getVehicleBrand()))
            && (this.getProductionArea() == null ? other.getProductionArea() == null : this.getProductionArea().equals(other.getProductionArea()))
            && (this.getCommodityInspectionNo() == null ? other.getCommodityInspectionNo() == null : this.getCommodityInspectionNo().equals(other.getCommodityInspectionNo()))
            && (this.getCertificationNo() == null ? other.getCertificationNo() == null : this.getCertificationNo().equals(other.getCertificationNo()))
            && (this.getEngineNo() == null ? other.getEngineNo() == null : this.getEngineNo().equals(other.getEngineNo()))
            && (this.getVehicleNo() == null ? other.getVehicleNo() == null : this.getVehicleNo().equals(other.getVehicleNo()))
            && (this.getImportCertificateNo() == null ? other.getImportCertificateNo() == null : this.getImportCertificateNo().equals(other.getImportCertificateNo()))
            && (this.getTaxRate() == null ? other.getTaxRate() == null : this.getTaxRate().equals(other.getTaxRate()))
            && (this.getChargeTaxAuthorityCode() == null ? other.getChargeTaxAuthorityCode() == null : this.getChargeTaxAuthorityCode().equals(other.getChargeTaxAuthorityCode()))
            && (this.getChargeTaxAuthorityName() == null ? other.getChargeTaxAuthorityName() == null : this.getChargeTaxAuthorityName().equals(other.getChargeTaxAuthorityName()))
            && (this.getTaxPaidProof() == null ? other.getTaxPaidProof() == null : this.getTaxPaidProof().equals(other.getTaxPaidProof()))
            && (this.getTonnage() == null ? other.getTonnage() == null : this.getTonnage().equals(other.getTonnage()))
            && (this.getMaxCapacity() == null ? other.getMaxCapacity() == null : this.getMaxCapacity().equals(other.getMaxCapacity()))
            && (this.getReceivingClark() == null ? other.getReceivingClark() == null : this.getReceivingClark().equals(other.getReceivingClark()))
            && (this.getCtStatus() == null ? other.getCtStatus() == null : this.getCtStatus().equals(other.getCtStatus()))
            && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
            && (this.getUtime() == null ? other.getUtime() == null : this.getUtime().equals(other.getUtime()))
            && (this.getCoopJson() == null ? other.getCoopJson() == null : this.getCoopJson().equals(other.getCoopJson()))
            && (this.getProcessMsg() == null ? other.getProcessMsg() == null : this.getProcessMsg().equals(other.getProcessMsg()));
    }

    /**
     *
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getTaskStatus() == null) ? 0 : getTaskStatus().hashCode());
        result = prime * result + ((getProcessCode() == null) ? 0 : getProcessCode().hashCode());
        result = prime * result + ((getProcessNum() == null) ? 0 : getProcessNum().hashCode());
        result = prime * result + ((getInvoiceCode() == null) ? 0 : getInvoiceCode().hashCode());
        result = prime * result + ((getInvoiceNo() == null) ? 0 : getInvoiceNo().hashCode());
        result = prime * result + ((getInvoiceType() == null) ? 0 : getInvoiceType().hashCode());
        result = prime * result + ((getPurchaserNo() == null) ? 0 : getPurchaserNo().hashCode());
        result = prime * result + ((getPurchaserTaxNo() == null) ? 0 : getPurchaserTaxNo().hashCode());
        result = prime * result + ((getPurchaserName() == null) ? 0 : getPurchaserName().hashCode());
        result = prime * result + ((getPurchaserAddrTel() == null) ? 0 : getPurchaserAddrTel().hashCode());
        result = prime * result + ((getPurchaserAddress() == null) ? 0 : getPurchaserAddress().hashCode());
        result = prime * result + ((getPurchaserTel() == null) ? 0 : getPurchaserTel().hashCode());
        result = prime * result + ((getPurchaserBankInfo() == null) ? 0 : getPurchaserBankInfo().hashCode());
        result = prime * result + ((getPurchaserBankName() == null) ? 0 : getPurchaserBankName().hashCode());
        result = prime * result + ((getPurchaserBankAccount() == null) ? 0 : getPurchaserBankAccount().hashCode());
        result = prime * result + ((getSellerNo() == null) ? 0 : getSellerNo().hashCode());
        result = prime * result + ((getSellerTaxNo() == null) ? 0 : getSellerTaxNo().hashCode());
        result = prime * result + ((getSellerName() == null) ? 0 : getSellerName().hashCode());
        result = prime * result + ((getSellerAddrTel() == null) ? 0 : getSellerAddrTel().hashCode());
        result = prime * result + ((getSellerTel() == null) ? 0 : getSellerTel().hashCode());
        result = prime * result + ((getSellerAddress() == null) ? 0 : getSellerAddress().hashCode());
        result = prime * result + ((getSellerBankInfo() == null) ? 0 : getSellerBankInfo().hashCode());
        result = prime * result + ((getSellerBankName() == null) ? 0 : getSellerBankName().hashCode());
        result = prime * result + ((getSellerBankAccount() == null) ? 0 : getSellerBankAccount().hashCode());
        result = prime * result + ((getPaperDrewDate() == null) ? 0 : getPaperDrewDate().hashCode());
        result = prime * result + ((getAmountWithoutTax() == null) ? 0 : getAmountWithoutTax().hashCode());
        result = prime * result + ((getTaxAmount() == null) ? 0 : getTaxAmount().hashCode());
        result = prime * result + ((getAmountWithTax() == null) ? 0 : getAmountWithTax().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getCashierName() == null) ? 0 : getCashierName().hashCode());
        result = prime * result + ((getCheckerName() == null) ? 0 : getCheckerName().hashCode());
        result = prime * result + ((getInvoicerName() == null) ? 0 : getInvoicerName().hashCode());
        result = prime * result + ((getSettlementNo() == null) ? 0 : getSettlementNo().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getOriginInvoiceNo() == null) ? 0 : getOriginInvoiceNo().hashCode());
        result = prime * result + ((getOriginInvoiceCode() == null) ? 0 : getOriginInvoiceCode().hashCode());
        result = prime * result + ((getRedNotificationNo() == null) ? 0 : getRedNotificationNo().hashCode());
        result = prime * result + ((getAuditStatus() == null) ? 0 : getAuditStatus().hashCode());
        result = prime * result + ((getTaxFlag() == null) ? 0 : getTaxFlag().hashCode());
        result = prime * result + ((getAuthStatus() == null) ? 0 : getAuthStatus().hashCode());
        result = prime * result + ((getAuthTime() == null) ? 0 : getAuthTime().hashCode());
        result = prime * result + ((getTaxDeclarationPeriod() == null) ? 0 : getTaxDeclarationPeriod().hashCode());
        result = prime * result + ((getInvoiceOrig() == null) ? 0 : getInvoiceOrig().hashCode());
        result = prime * result + ((getScanStatus() == null) ? 0 : getScanStatus().hashCode());
        result = prime * result + ((getScanTime() == null) ? 0 : getScanTime().hashCode());
        result = prime * result + ((getScanDeductionImageUrl() == null) ? 0 : getScanDeductionImageUrl().hashCode());
        result = prime * result + ((getScanInvoiceImageUrl() == null) ? 0 : getScanInvoiceImageUrl().hashCode());
        result = prime * result + ((getScanUserId() == null) ? 0 : getScanUserId().hashCode());
        result = prime * result + ((getRetreatStatus() == null) ? 0 : getRetreatStatus().hashCode());
        result = prime * result + ((getTenantCode() == null) ? 0 : getTenantCode().hashCode());
        result = prime * result + ((getCheckCode() == null) ? 0 : getCheckCode().hashCode());
        result = prime * result + ((getMachineCode() == null) ? 0 : getMachineCode().hashCode());
        result = prime * result + ((getPurchaserId() == null) ? 0 : getPurchaserId().hashCode());
        result = prime * result + ((getVehicleType() == null) ? 0 : getVehicleType().hashCode());
        result = prime * result + ((getVehicleBrand() == null) ? 0 : getVehicleBrand().hashCode());
        result = prime * result + ((getProductionArea() == null) ? 0 : getProductionArea().hashCode());
        result = prime * result + ((getCommodityInspectionNo() == null) ? 0 : getCommodityInspectionNo().hashCode());
        result = prime * result + ((getCertificationNo() == null) ? 0 : getCertificationNo().hashCode());
        result = prime * result + ((getEngineNo() == null) ? 0 : getEngineNo().hashCode());
        result = prime * result + ((getVehicleNo() == null) ? 0 : getVehicleNo().hashCode());
        result = prime * result + ((getImportCertificateNo() == null) ? 0 : getImportCertificateNo().hashCode());
        result = prime * result + ((getTaxRate() == null) ? 0 : getTaxRate().hashCode());
        result = prime * result + ((getChargeTaxAuthorityCode() == null) ? 0 : getChargeTaxAuthorityCode().hashCode());
        result = prime * result + ((getChargeTaxAuthorityName() == null) ? 0 : getChargeTaxAuthorityName().hashCode());
        result = prime * result + ((getTaxPaidProof() == null) ? 0 : getTaxPaidProof().hashCode());
        result = prime * result + ((getTonnage() == null) ? 0 : getTonnage().hashCode());
        result = prime * result + ((getMaxCapacity() == null) ? 0 : getMaxCapacity().hashCode());
        result = prime * result + ((getReceivingClark() == null) ? 0 : getReceivingClark().hashCode());
        result = prime * result + ((getCtStatus() == null) ? 0 : getCtStatus().hashCode());
        result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
        result = prime * result + ((getUtime() == null) ? 0 : getUtime().hashCode());
        result = prime * result + ((getCoopJson() == null) ? 0 : getCoopJson().hashCode());
        result = prime * result + ((getProcessMsg() == null) ? 0 : getProcessMsg().hashCode());
        return result;
    }
}